package com.ymm.system.api.facade;

import com.ymm.system.api.constants.CargoEntity;
import com.ymm.system.api.constants.LltorderEntity;
import com.ymm.system.api.constants.TradeEntity;
import com.ymm.system.api.dto.*;
import com.ymm.system.api.utils.Result;

import java.util.List;

/**
 * @auther ZhangHongyuan
 * @date 2022/8/3 14:06
 */

/**
 * 订单展示服务
 */
public interface SystemDisplayService {


    //查询运单详情
    public List<TradeEntity> selectTradeDetail ();

    //分页查询全部订单详情给后台
    List<OrderShowDTO> searchOrderDetailsByPage(Integer pageNum,Integer pageSize);

    List<OrderShowDTO> searchOrderBycondition(Integer pageNumber, Integer pageSize, QueryOrderDTO queryOrderDTO);

    /**
     * 查找所有订单详情
     * @return
     */
    public List<LltorderDetailsDTO> searchOrderDetails();

    //司机查询货源详情
    public Result<CargoInfoDto> driverSearchCargoDetails(DriverGrabDTO driverGrabDTO);

}
